<%--
  Created by IntelliJ IDEA.
  User: 754165242
  Date: 2022/3/7
  Time: 17:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<html>
<head>
    <title>Title</title>
    <style>
        table{
            background-color: tomato;
        }
    </style>
</head>
<body>
<%--
    可以将jsp作为纯html使用
--%>
<table width="500px" height="200px" border="1px" cellspacing="0px">

    <tr>
        <th>学号</th>
        <th>姓名</th>
        <th>性别</th>
    </tr>
    <tr>
        <td>1001</td>
        <td>pgone</td>
        <td>男</td>
    </tr>
    <tr>
        <td>1002</td>
        <td>lxl</td>
        <td>女</td>
    </tr>
    <tr>
        <td>1003</td>
        <td>白百何</td>
        <td>女</td>
    </tr>
</table>
</body>
<script>

    document.write("我是js输出内容")
</script>
</html>
